package com.atguigu.eduservice.mapper;

import com.atguigu.eduservice.pojo.EduCourse;
import com.atguigu.eduservice.pojo.frontvo.CourseWebVo;
import com.atguigu.eduservice.pojo.vo.CoursePublishVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2022-11-20
 */
@Mapper
public interface EduCourseMapper extends BaseMapper<EduCourse> {
    //根据课程id查询课程的基本信息
     CoursePublishVo getPublishCourseInfo(@Param("courseId") String courseId);
        //根据课程id查询课程的基本信息
    CourseWebVo getBaseCourseInfo(@Param("courseId") String courseId);
}


